<template>
	<view>
		<view class="transparent">
			<view class="transparent-top">
				<view class="transparent-top-title">无忧服务</view>
				<view class="transparent-top-text">全方位提升爱车价值</view>
			</view>
			<view class="transparent-content">
				<!-- <view class="transparent-content-item" @click="oneTap"> -->
				<!-- 正在开发 -->
				<view class="transparent-content-item" @click="isShowtoast">
					<view class="transparent-content-item-icon"><image src="../../static/navtab/e1.png" mode="aspectFit"></image></view>
					<view class="transparent-content-item-text">车辆整备</view>
				</view>
				<!-- <view class="transparent-content-item" @click="otwoTap"> -->
				<!-- 正在开发 -->
				<view class="transparent-content-item" @click="twoTap">
					<view class="transparent-content-item-icon"><image src="../../static/navtab/e2.png" mode="aspectFit"></image></view>
					<view class="transparent-content-item-text">车辆检测</view>
				</view>
				<!-- <view class="transparent-content-item" @click="threeTap"> -->
				<!-- 正在开发 -->
				<view class="transparent-content-item" @click="isShowtoast">
					<view class="transparent-content-item-icon"><image src="../../static/navtab/e3.png" mode="aspectFit"></image></view>
					<view class="transparent-content-item-text">延保服务</view>
				</view>
				<!-- <view class="transparent-content-item" @click="fourTap"> -->
				<!-- 正在开发 -->
				<view class="transparent-content-item" @click="isShowtoast">
					<view class="transparent-content-item-icon"><image src="../../static/navtab/e4.png" mode="aspectFit"></image></view>
					<view class="transparent-content-item-text">保修服务</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name:"easy-service",
		data() {
			return {
				
			};
		},
		methods:{
			oneTap(){
				uni.navigateTo({
					url: '/pages/carServicing/carServicing'
				})
			},
			twoTap(){
				uni.navigateTo({
					url: '/pagesB/carTesting/carTesting'
				})
			},
			threeTap(){
				uni.navigateTo({
					url: '/pagesB/warranty/warranty'
				})
			},
			fourTap(){
				uni.navigateTo({
					url: '/pagesB/afterService/afterService'
				})
			},
			//正在开发
			isShowtoast(){
				uni.showToast({
					title:'功能正在开发中,敬请期待',
					icon:'none'
				})
			}
		}	
	}
</script>

<style scoped lang="scss">
	.transparent{
		background-color: $uni-bg-color;
		margin: $uni-widthspace $uni-widthspace 0rpx;
		border-radius: 10rpx;
		.transparent-top{
			display: flex;
			justify-content: space-between;
			align-items: center;
			padding: $uni-widthspace;
			box-sizing: border-box;
			// border-bottom: 1px solid #e6e6e6;
			.transparent-top-title{
				font-size: 36rpx;
				font-weight: bolder;
				color: #333;
			}
			.transparent-top-text{
				font-size: 24rpx;
				height: 40rpx;
				line-height: 40rpx;
				display: flex;
				align-items: center;
				background-color: #0e2a53;
				border-radius: 40rpx;
				color: #fff;
				padding: 2rpx 10rpx;
			}
		}
		.transparent-content{
			display: flex;
			justify-content: space-between;
			align-items: center;
			padding: 0 $uni-widthspace 30rpx;
			box-sizing: border-box;
			flex-wrap:wrap;
			.transparent-content-item{
				width: 25%;
				text-align: center;
				margin-top: 30rpx;
				.transparent-content-item-icon{
					image{
						width: 60rpx;
						height: 60rpx;
					}
				}
				.transparent-content-item-text{
					font-size: 28rpx;
					color: #333;
				}
			}
		}
	}
</style>
